package com.gill.exception;

import lombok.Data;

/**
 * 公共业务逻辑错误处理异常
 */
@Data
public class CommonServiceException extends Exception{

    private Integer code;
    private String message;

    public CommonServiceException(int code,String message){
        this.code = code;
        this.message = message;
    }

}
